app2(app2(append, nil), ys) -> ys
app2(app2(append, app2(app2(cons, x), xs)), ys) -> app2(app2(cons, x), app2(app2(append, xs), ys))
app2(app2(flatwith, f), app2(leaf, x)) -> app2(app2(cons, app2(f, x)), nil)
app2(app2(flatwith, f), app2(node, xs)) -> app2(app2(flatwithsub, f), xs)
app2(app2(flatwithsub, f), nil) -> nil
app2(app2(flatwithsub, f), app2(app2(cons, x), xs)) -> app2(app2(append, app2(app2(flatwith, f), x)), app2(app2(flatwithsub, f), xs))
↳ QTRS
↳ DependencyPairsProof
app2(app2(append, nil), ys) -> ys
app2(app2(append, app2(app2(cons, x), xs)), ys) -> app2(app2(cons, x), app2(app2(append, xs), ys))
app2(app2(flatwith, f), app2(leaf, x)) -> app2(app2(cons, app2(f, x)), nil)
app2(app2(flatwith, f), app2(node, xs)) -> app2(app2(flatwithsub, f), xs)
app2(app2(flatwithsub, f), nil) -> nil
app2(app2(flatwithsub, f), app2(app2(cons, x), xs)) -> app2(app2(append, app2(app2(flatwith, f), x)), app2(app2(flatwithsub, f), xs))
APP2(app2(append, app2(app2(cons, x), xs)), ys) -> APP2(append, xs)
APP2(app2(flatwith, f), app2(leaf, x)) -> APP2(cons, app2(f, x))
APP2(app2(flatwithsub, f), app2(app2(cons, x), xs)) -> APP2(app2(flatwithsub, f), xs)
APP2(app2(flatwithsub, f), app2(app2(cons, x), xs)) -> APP2(app2(append, app2(app2(flatwith, f), x)), app2(app2(flatwithsub, f), xs))
APP2(app2(flatwith, f), app2(node, xs)) -> APP2(flatwithsub, f)
APP2(app2(append, app2(app2(cons, x), xs)), ys) -> APP2(app2(append, xs), ys)
APP2(app2(flatwith, f), app2(leaf, x)) -> APP2(app2(cons, app2(f, x)), nil)
APP2(app2(flatwith, f), app2(node, xs)) -> APP2(app2(flatwithsub, f), xs)
APP2(app2(flatwithsub, f), app2(app2(cons, x), xs)) -> APP2(app2(flatwith, f), x)
APP2(app2(append, app2(app2(cons, x), xs)), ys) -> APP2(app2(cons, x), app2(app2(append, xs), ys))
APP2(app2(flatwithsub, f), app2(app2(cons, x), xs)) -> APP2(append, app2(app2(flatwith, f), x))
APP2(app2(flatwithsub, f), app2(app2(cons, x), xs)) -> APP2(flatwith, f)
APP2(app2(flatwith, f), app2(leaf, x)) -> APP2(f, x)
app2(app2(append, nil), ys) -> ys
app2(app2(append, app2(app2(cons, x), xs)), ys) -> app2(app2(cons, x), app2(app2(append, xs), ys))
app2(app2(flatwith, f), app2(leaf, x)) -> app2(app2(cons, app2(f, x)), nil)
app2(app2(flatwith, f), app2(node, xs)) -> app2(app2(flatwithsub, f), xs)
app2(app2(flatwithsub, f), nil) -> nil
app2(app2(flatwithsub, f), app2(app2(cons, x), xs)) -> app2(app2(append, app2(app2(flatwith, f), x)), app2(app2(flatwithsub, f), xs))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
APP2(app2(append, app2(app2(cons, x), xs)), ys) -> APP2(append, xs)
APP2(app2(flatwith, f), app2(leaf, x)) -> APP2(cons, app2(f, x))
APP2(app2(flatwithsub, f), app2(app2(cons, x), xs)) -> APP2(app2(flatwithsub, f), xs)
APP2(app2(flatwithsub, f), app2(app2(cons, x), xs)) -> APP2(app2(append, app2(app2(flatwith, f), x)), app2(app2(flatwithsub, f), xs))
APP2(app2(flatwith, f), app2(node, xs)) -> APP2(flatwithsub, f)
APP2(app2(append, app2(app2(cons, x), xs)), ys) -> APP2(app2(append, xs), ys)
APP2(app2(flatwith, f), app2(leaf, x)) -> APP2(app2(cons, app2(f, x)), nil)
APP2(app2(flatwith, f), app2(node, xs)) -> APP2(app2(flatwithsub, f), xs)
APP2(app2(flatwithsub, f), app2(app2(cons, x), xs)) -> APP2(app2(flatwith, f), x)
APP2(app2(append, app2(app2(cons, x), xs)), ys) -> APP2(app2(cons, x), app2(app2(append, xs), ys))
APP2(app2(flatwithsub, f), app2(app2(cons, x), xs)) -> APP2(append, app2(app2(flatwith, f), x))
APP2(app2(flatwithsub, f), app2(app2(cons, x), xs)) -> APP2(flatwith, f)
APP2(app2(flatwith, f), app2(leaf, x)) -> APP2(f, x)
app2(app2(append, nil), ys) -> ys
app2(app2(append, app2(app2(cons, x), xs)), ys) -> app2(app2(cons, x), app2(app2(append, xs), ys))
app2(app2(flatwith, f), app2(leaf, x)) -> app2(app2(cons, app2(f, x)), nil)
app2(app2(flatwith, f), app2(node, xs)) -> app2(app2(flatwithsub, f), xs)
app2(app2(flatwithsub, f), nil) -> nil
app2(app2(flatwithsub, f), app2(app2(cons, x), xs)) -> app2(app2(append, app2(app2(flatwith, f), x)), app2(app2(flatwithsub, f), xs))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPOrderProof
↳ QDP
APP2(app2(append, app2(app2(cons, x), xs)), ys) -> APP2(app2(append, xs), ys)
app2(app2(append, nil), ys) -> ys
app2(app2(append, app2(app2(cons, x), xs)), ys) -> app2(app2(cons, x), app2(app2(append, xs), ys))
app2(app2(flatwith, f), app2(leaf, x)) -> app2(app2(cons, app2(f, x)), nil)
app2(app2(flatwith, f), app2(node, xs)) -> app2(app2(flatwithsub, f), xs)
app2(app2(flatwithsub, f), nil) -> nil
app2(app2(flatwithsub, f), app2(app2(cons, x), xs)) -> app2(app2(append, app2(app2(flatwith, f), x)), app2(app2(flatwithsub, f), xs))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
APP2(app2(append, app2(app2(cons, x), xs)), ys) -> APP2(app2(append, xs), ys)
POL(APP2(x1, x2)) = x1
POL(app2(x1, x2)) = x1 + x2
POL(append) = 0
POL(cons) = 1
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
app2(app2(append, nil), ys) -> ys
app2(app2(append, app2(app2(cons, x), xs)), ys) -> app2(app2(cons, x), app2(app2(append, xs), ys))
app2(app2(flatwith, f), app2(leaf, x)) -> app2(app2(cons, app2(f, x)), nil)
app2(app2(flatwith, f), app2(node, xs)) -> app2(app2(flatwithsub, f), xs)
app2(app2(flatwithsub, f), nil) -> nil
app2(app2(flatwithsub, f), app2(app2(cons, x), xs)) -> app2(app2(append, app2(app2(flatwith, f), x)), app2(app2(flatwithsub, f), xs))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
APP2(app2(flatwith, f), app2(node, xs)) -> APP2(app2(flatwithsub, f), xs)
APP2(app2(flatwithsub, f), app2(app2(cons, x), xs)) -> APP2(app2(flatwith, f), x)
APP2(app2(flatwithsub, f), app2(app2(cons, x), xs)) -> APP2(app2(flatwithsub, f), xs)
APP2(app2(flatwith, f), app2(leaf, x)) -> APP2(f, x)
app2(app2(append, nil), ys) -> ys
app2(app2(append, app2(app2(cons, x), xs)), ys) -> app2(app2(cons, x), app2(app2(append, xs), ys))
app2(app2(flatwith, f), app2(leaf, x)) -> app2(app2(cons, app2(f, x)), nil)
app2(app2(flatwith, f), app2(node, xs)) -> app2(app2(flatwithsub, f), xs)
app2(app2(flatwithsub, f), nil) -> nil
app2(app2(flatwithsub, f), app2(app2(cons, x), xs)) -> app2(app2(append, app2(app2(flatwith, f), x)), app2(app2(flatwithsub, f), xs))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
APP2(app2(flatwithsub, f), app2(app2(cons, x), xs)) -> APP2(app2(flatwith, f), x)
APP2(app2(flatwithsub, f), app2(app2(cons, x), xs)) -> APP2(app2(flatwithsub, f), xs)
Used ordering: Polynomial interpretation [21]:
APP2(app2(flatwith, f), app2(node, xs)) -> APP2(app2(flatwithsub, f), xs)
APP2(app2(flatwith, f), app2(leaf, x)) -> APP2(f, x)
POL(APP2(x1, x2)) = x2
POL(app2(x1, x2)) = x1 + x2
POL(cons) = 1
POL(flatwith) = 0
POL(flatwithsub) = 0
POL(leaf) = 0
POL(node) = 0
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
APP2(app2(flatwith, f), app2(node, xs)) -> APP2(app2(flatwithsub, f), xs)
APP2(app2(flatwith, f), app2(leaf, x)) -> APP2(f, x)
app2(app2(append, nil), ys) -> ys
app2(app2(append, app2(app2(cons, x), xs)), ys) -> app2(app2(cons, x), app2(app2(append, xs), ys))
app2(app2(flatwith, f), app2(leaf, x)) -> app2(app2(cons, app2(f, x)), nil)
app2(app2(flatwith, f), app2(node, xs)) -> app2(app2(flatwithsub, f), xs)
app2(app2(flatwithsub, f), nil) -> nil
app2(app2(flatwithsub, f), app2(app2(cons, x), xs)) -> app2(app2(append, app2(app2(flatwith, f), x)), app2(app2(flatwithsub, f), xs))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
APP2(app2(flatwith, f), app2(leaf, x)) -> APP2(f, x)
app2(app2(append, nil), ys) -> ys
app2(app2(append, app2(app2(cons, x), xs)), ys) -> app2(app2(cons, x), app2(app2(append, xs), ys))
app2(app2(flatwith, f), app2(leaf, x)) -> app2(app2(cons, app2(f, x)), nil)
app2(app2(flatwith, f), app2(node, xs)) -> app2(app2(flatwithsub, f), xs)
app2(app2(flatwithsub, f), nil) -> nil
app2(app2(flatwithsub, f), app2(app2(cons, x), xs)) -> app2(app2(append, app2(app2(flatwith, f), x)), app2(app2(flatwithsub, f), xs))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
APP2(app2(flatwith, f), app2(leaf, x)) -> APP2(f, x)
POL(APP2(x1, x2)) = x1
POL(app2(x1, x2)) = x1 + x2
POL(flatwith) = 1
POL(leaf) = 0
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
app2(app2(append, nil), ys) -> ys
app2(app2(append, app2(app2(cons, x), xs)), ys) -> app2(app2(cons, x), app2(app2(append, xs), ys))
app2(app2(flatwith, f), app2(leaf, x)) -> app2(app2(cons, app2(f, x)), nil)
app2(app2(flatwith, f), app2(node, xs)) -> app2(app2(flatwithsub, f), xs)
app2(app2(flatwithsub, f), nil) -> nil
app2(app2(flatwithsub, f), app2(app2(cons, x), xs)) -> app2(app2(append, app2(app2(flatwith, f), x)), app2(app2(flatwithsub, f), xs))